package com.idc.resource.model;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.NotBlank;



/**
 * 登录请求
 * Created by Lijing on 2017/7/5.
 */
@Getter
@Setter
@ToString
@NoArgsConstructor
public class LoginReqDto {
    @NotBlank(message = "登录用户名不能为空")
    private String userId;
    /** 手机号码 */
    private String phone;
    /** 登录密码 */
    @NotBlank(message = "密码不能为空")
    private String loginPwd;
    /** 设备id */
    @NotBlank(message = "设备id不能为空")
    private String deviceId;

}
